package com.ruoyi.client.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单商品信息 对象 sys_pur_order_goods
 *
 * @author ruoyi
 * @date 2022-09-14
 */
public class SysPurOrderGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long purGoodId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long purId;

    /** 器械id */
    @Excel(name = "器械id")
    private Long medId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String medName;

    /** 单位 */
    @Excel(name = "单位")
    private String purGoodUnit;

    /** 单价 */
    @Excel(name = "进价")
    private BigDecimal purGoodPrice;

    /** 数量 */
    @Excel(name = "数量")
    private Long purGoodNum;

    public void setPurGoodId(Long purGoodId)
    {
        this.purGoodId = purGoodId;
    }

    public Long getPurGoodId()
    {
        return purGoodId;
    }
    public void setPurId(Long purId)
    {
        this.purId = purId;
    }

    public Long getPurId()
    {
        return purId;
    }
    public void setMedId(Long medId)
    {
        this.medId = medId;
    }

    public Long getMedId()
    {
        return medId;
    }
    public void setMedName(String medName)
    {
        this.medName = medName;
    }

    public String getMedName()
    {
        return medName;
    }
    public void setPurGoodUnit(String purGoodUnit)
    {
        this.purGoodUnit = purGoodUnit;
    }

    public String getPurGoodUnit()
    {
        return purGoodUnit;
    }
    public void setPurGoodPrice(BigDecimal purGoodPrice)
    {
        this.purGoodPrice = purGoodPrice;
    }

    public BigDecimal getPurGoodPrice()
    {
        return purGoodPrice;
    }
    public void setPurGoodNum(Long purGoodNum)
    {
        this.purGoodNum = purGoodNum;
    }

    public Long getPurGoodNum()
    {
        return purGoodNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("purGoodId", getPurGoodId())
                .append("purId", getPurId())
                .append("medId", getMedId())
                .append("medName", getMedName())
                .append("purGoodUnit", getPurGoodUnit())
                .append("purGoodPrice", getPurGoodPrice())
                .append("purGoodNum", getPurGoodNum())
                .toString();
    }
}
